<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Simple Framework: Assets/Scripts/Core/Utilities/Localization.cs 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Simple Framework
   &#160;<span id="projectnumber">v0.1.1</span>
   </div>
   <div id="projectbrief">A simple Unity application framework</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_localization_8cs_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Localization.cs</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>;</div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>.Collections.Generic;</div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>.IO;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_system.html">System</a>.Text;</div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_framework.html">Framework</a>.<a class="code" href="namespace_framework_1_1_core.html">Core</a>;</div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="keyword">using</span> <a class="code" href="namespace_unity_engine.html">UnityEngine</a>;</div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="namespace_framework_1_1_utilities.html">    8</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_framework.html">Framework</a>.Utilities</div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;{</div><div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html">   13</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="class_framework_1_1_utilities_1_1_localization.html">Localization</a> : <a class="code" href="class_framework_1_1_utilities_1_1_singleton.html">Singleton</a>&lt;Localization&gt;, <a class="code" href="interface_framework_1_1_core_1_1_i_system_module.html">ISystemModule</a></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;    {</div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#aec0688519d6bc71c6cea626dde0fac20">   18</a></span>&#160;        <span class="keyword">public</span> readonly <span class="keywordtype">string</span> TextFile = <span class="stringliteral">&quot;Text/Language&quot;</span>;</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;        <span class="keyword">private</span> Dictionary&lt;string, string&gt; _texts;</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        <span class="keyword">private</span> List&lt;List&lt;string&gt;&gt; _table;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <span class="keyword">private</span> <span class="keywordtype">string</span> _language;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> Language</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#aa4fad02f105872278f8f658998458fac">   40</a></span>&#160;        {</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;            <span class="keyword">get</span></div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;            {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;                <span class="keywordflow">return</span> _language;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;            }</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        }</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#a41f28a5dc965e95424832f01cc049259">   47</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">override</span> <span class="keywordtype">void</span> <a class="code" href="class_framework_1_1_utilities_1_1_localization.html#a41f28a5dc965e95424832f01cc049259">Initialize</a>()</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        {</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;            base.Initialize();</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            _table = <span class="keyword">new</span> List&lt;List&lt;string&gt;&gt;();</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;            <span class="comment">//读取表格</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            <span class="keywordtype">string</span> csv = <a class="code" href="class_framework_1_1_core_1_1_resource_manager.html">ResourceManager</a>.<a class="code" href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Instance</a>.Load&lt;TextAsset&gt;(TextFile).text;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;            <span class="comment">//将表格按行分割</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            <span class="keywordtype">string</span>[] lines = csv.Split(<span class="keyword">new</span>[] { <span class="charliteral">&#39;\n&#39;</span> });</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;            <span class="comment">//循环将表格内容加入列表</span></div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; lines.Length; i++)</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;            {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;                <span class="keywordtype">string</span>[] strs = lines[i].Split(<span class="charliteral">&#39;,&#39;</span>);</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;                _table.Add(<span class="keyword">new</span> List&lt;string&gt;(strs));</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;            }</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;            <span class="comment">//默认设置为中文</span></div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;            SetLanguage(<span class="stringliteral">&quot;Chinese&quot;</span>);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        }</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#a69464f7895f7b58e778d6ae18b3af6f9">   74</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_framework_1_1_utilities_1_1_localization.html#a69464f7895f7b58e778d6ae18b3af6f9">SetLanguage</a>(<span class="keywordtype">string</span> language)</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        {</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            _texts = <span class="keyword">new</span> Dictionary&lt;string, string&gt;();</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;            <span class="comment">//寻找第一行能够使用的语言</span></div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            <span class="keywordtype">int</span> index = -1;</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 1; i &lt; _table[0].Count; i++)</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;            {</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;                <span class="keywordflow">if</span> (_table[0][i] == language)</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;                {</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;                    index = i;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;                    <span class="keywordflow">break</span>;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;                }</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;            }</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            <span class="comment">//没有找到语言，抛出异常</span></div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;            <span class="keywordflow">if</span> (index == -1)</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;            {</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;                <span class="keywordflow">throw</span> <span class="keyword">new</span> ArgumentNullException(language);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            }</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;            <span class="keywordflow">else</span></div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;            {</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;                <span class="comment">//将找到的语言键值对保存</span></div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;                <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; _table.Count; i++)</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                {</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;                    <span class="keywordflow">if</span> (!<span class="keywordtype">string</span>.IsNullOrEmpty(_table[i][0]))</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                    {</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;                        <span class="keywordtype">string</span> target = _table[i][index];</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;                        <span class="comment">//其中对\n转义</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;                        _texts[_table[i][0]] = target.Replace(<span class="stringliteral">&quot;\\n&quot;</span>, <span class="stringliteral">&quot;\n&quot;</span>); ;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;                    }</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;                }</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;            }</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;            <span class="comment">//最后设置语言</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;            _language = language;</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        }</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#acbbe4b6d45527fb3f3010ec9aacc0098">  115</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">string</span> <a class="code" href="class_framework_1_1_utilities_1_1_localization.html#acbbe4b6d45527fb3f3010ec9aacc0098">GetText</a>(<span class="keywordtype">string</span> textName)</div><div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        {</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;            <span class="keywordtype">string</span> text = <span class="stringliteral">&quot;&quot;</span>;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;            <span class="keywordflow">if</span> (_texts == null || !_texts.TryGetValue(textName, out text))</div><div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;            {</div><div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;                <span class="comment">//如果找不到对应文本则显示问号</span></div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;                text = <span class="stringliteral">&quot;?&quot;</span>;</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;            }</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;            <span class="keywordflow">return</span> text;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;        }</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div><div class="line"><a name="l00126"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#a3172524bc0e3d8c79af0c78e68fe5695">  126</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_framework_1_1_utilities_1_1_localization.html#a3172524bc0e3d8c79af0c78e68fe5695">Update</a>(<span class="keywordtype">float</span> deltaTime)</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;        {</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;        }</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_framework_1_1_utilities_1_1_localization.html#a612815131cc58879ce5ea8a53f1abdd9">  133</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="class_framework_1_1_utilities_1_1_localization.html#a612815131cc58879ce5ea8a53f1abdd9">Dispose</a>()</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;        {</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            _table.Clear();</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;            _texts.Clear();</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;        }</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    }</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;}</div><div class="ttc" id="namespace_system_html"><div class="ttname"><a href="namespace_system.html">System</a></div></div>
<div class="ttc" id="namespace_framework_1_1_core_html"><div class="ttname"><a href="namespace_framework_1_1_core.html">Framework.Core</a></div><div class="ttdef"><b>Definition:</b> <a href="_launcher_8cs_source.html#l00005">Launcher.cs:5</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html_a41f28a5dc965e95424832f01cc049259"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html#a41f28a5dc965e95424832f01cc049259">Framework.Utilities.Localization.Initialize</a></div><div class="ttdeci">override void Initialize()</div><div class="ttdoc">初始化函数 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00047">Localization.cs:47</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html_a69464f7895f7b58e778d6ae18b3af6f9"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html#a69464f7895f7b58e778d6ae18b3af6f9">Framework.Utilities.Localization.SetLanguage</a></div><div class="ttdeci">void SetLanguage(string language)</div><div class="ttdoc">设置语言。 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00074">Localization.cs:74</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html_a3172524bc0e3d8c79af0c78e68fe5695"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html#a3172524bc0e3d8c79af0c78e68fe5695">Framework.Utilities.Localization.Update</a></div><div class="ttdeci">void Update(float deltaTime)</div><div class="ttdoc">每帧更新 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00126">Localization.cs:126</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_singleton_html"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_singleton.html">Framework.Utilities.Singleton</a></div><div class="ttdoc">实现单例模式的模版类。 </div><div class="ttdef"><b>Definition:</b> <a href="_singleton_8cs_source.html#l00011">Singleton.cs:11</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html_acbbe4b6d45527fb3f3010ec9aacc0098"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html#acbbe4b6d45527fb3f3010ec9aacc0098">Framework.Utilities.Localization.GetText</a></div><div class="ttdeci">string GetText(string textName)</div><div class="ttdoc">获取文本。 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00115">Localization.cs:115</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html_a612815131cc58879ce5ea8a53f1abdd9"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html#a612815131cc58879ce5ea8a53f1abdd9">Framework.Utilities.Localization.Dispose</a></div><div class="ttdeci">void Dispose()</div><div class="ttdoc">当程序退出时 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00133">Localization.cs:133</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_localization_html"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_localization.html">Framework.Utilities.Localization</a></div><div class="ttdoc">本地化管理，负责文本信息的提供。 </div><div class="ttdef"><b>Definition:</b> <a href="_localization_8cs_source.html#l00013">Localization.cs:13</a></div></div>
<div class="ttc" id="namespace_framework_html"><div class="ttname"><a href="namespace_framework.html">Framework</a></div></div>
<div class="ttc" id="interface_framework_1_1_core_1_1_i_system_module_html"><div class="ttname"><a href="interface_framework_1_1_core_1_1_i_system_module.html">Framework.Core.ISystemModule</a></div><div class="ttdoc">系统组件，由Laucher管理 </div><div class="ttdef"><b>Definition:</b> <a href="_system_module_8cs_source.html#l00010">SystemModule.cs:10</a></div></div>
<div class="ttc" id="class_framework_1_1_utilities_1_1_singleton_html_a3e8f42f51188ce789d8eceba2717356d"><div class="ttname"><a href="class_framework_1_1_utilities_1_1_singleton.html#a3e8f42f51188ce789d8eceba2717356d">Framework.Utilities.Singleton.Instance</a></div><div class="ttdeci">static T Instance</div><div class="ttdoc">实例 </div><div class="ttdef"><b>Definition:</b> <a href="_singleton_8cs_source.html#l00020">Singleton.cs:20</a></div></div>
<div class="ttc" id="namespace_unity_engine_html"><div class="ttname"><a href="namespace_unity_engine.html">UnityEngine</a></div></div>
<div class="ttc" id="class_framework_1_1_core_1_1_resource_manager_html"><div class="ttname"><a href="class_framework_1_1_core_1_1_resource_manager.html">Framework.Core.ResourceManager</a></div><div class="ttdoc">资源管理，提供各项本地资源，包括物体对象和UI等的解码和加载功能。 </div><div class="ttdef"><b>Definition:</b> <a href="_resource_manager_8cs_source.html#l00011">ResourceManager.cs:11</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_84bbf7b3c7f28a5a18725745e1505219.html">Assets</a></li><li class="navelem"><a class="el" href="dir_f13b41af88cf68434578284aaf699e39.html">Scripts</a></li><li class="navelem"><a class="el" href="dir_7db68f476bd50f9f6d9cf398af037e8e.html">Core</a></li><li class="navelem"><a class="el" href="dir_1495ce47b3ec970806de838b261f9530.html">Utilities</a></li><li class="navelem"><b>Localization.cs</b></li>
    <li class="footer">制作者
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
